package com.ywl.designpattern.responsibility;

/**
 * 2.然后，创建具体的处理者类
 * @author yuwl
 * @description
 * @since 2024-06-28 09:58
 */
public class ErrorLogger extends LogHandler{

    public ErrorLogger(int level) {
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Error::Logger: " + message);
    }
}
